//登录

var oRegister = document.register;
var oCellphone = oRegister.cellphone;
oRegister.onsubmit = function () {
	//手机号的验证
	var sCellphone = oCellphone.value;
	var reg = /^1[3|4|5|7|8][0-9]\d{8}$/;
	if(reg.test(sCellphone)){
		alert('手机号可用');
	}else{
		alert('手机号不可用');
	}
}

